﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace xxl_job {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "xxl_job_logglue", DisableSyncStructure = true)]
	public partial class XxlJobLogglue {

		[JsonProperty, Column(Name = "id", IsPrimary = true, IsIdentity = true)]
		public int Id { get; set; }

		[JsonProperty, Column(Name = "add_time", DbType = "datetime")]
		public DateTime? AddTime { get; set; }

		/// <summary>
		/// GLUE备注
		/// </summary>
		[JsonProperty, Column(Name = "glue_remark", StringLength = 128, IsNullable = false)]
		public string GlueRemark { get; set; }

		/// <summary>
		/// GLUE源代码
		/// </summary>
		[JsonProperty, Column(Name = "glue_source", DbType = "mediumtext")]
		public string GlueSource { get; set; }

		/// <summary>
		/// GLUE类型
		/// </summary>
		[JsonProperty, Column(Name = "glue_type", StringLength = 50)]
		public string GlueType { get; set; }

		/// <summary>
		/// 任务，主键ID
		/// </summary>
		[JsonProperty, Column(Name = "job_id")]
		public int JobId { get; set; }

		[JsonProperty, Column(Name = "update_time", DbType = "datetime")]
		public DateTime? UpdateTime { get; set; }

	}

}
